package com.competition.jingdong;

import java.util.LinkedList;

public class BoxRoom {
    LinkedList<Room> roomLinkedList;
    BoxRoom(Consume consume)
    {
        Position pos = new Position();
        int sx = consume.consumeLength;
        int sy = consume.consumeWeight;
        int sz = consume.consumeHigh;
        Room room = new Room(pos,sx,sy,sz);
        this.roomLinkedList = new LinkedList<>();
        roomLinkedList.add(room);
    }
}
